package com.insta.utils;

import java.util.List;

import android.media.MediaPlayer;

import com.insta.playdroid.metier.domain.Song;

public class SingletonPlayer {

	
	private static MediaPlayer mediaPlayer;
	public static List<Song> songs;

	private SingletonPlayer() {
		mediaPlayer = new MediaPlayer();
	}
	
	public static MediaPlayer getInstancePlayer(){
		
		if(mediaPlayer == null){
			new SingletonPlayer();
		}else{
			return mediaPlayer;
		}
		return mediaPlayer;
	}
	
	
	

}
